package com.zx.order.entity;

import com.zx.product.entity.Product;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    public Long id;
    public Long userId;
    public BigDecimal  totalAmount;
    public String nickName;
    public String address;
    public List<Product> productList;



}
